//
//  LBTModel.m
//  Products_B
//
//  Created by lanou on 16/5/28.
//  Copyright © 2016年 朋学友. All rights reserved.
//

#import "LBTModel.h"

@implementation LBTModel
+ (NSMutableArray *)modelConfigureWithDic:(NSDictionary *)jsonDic{
    NSMutableArray *modelArray = [NSMutableArray array];
   NSArray *bannerArray = jsonDic[@"data"][@"banner"];
    for (NSDictionary *bannerDic in bannerArray) {
        LBTModel *model = [[self alloc]init];
        [model setValuesForKeysWithDictionary:bannerDic];
        [modelArray addObject:model];
    }
    return modelArray; 
}
@end
